<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html>
<head>
    <%@include file="common/head.jspf"%>
    <title>新增商家</title>
    <script src="js/pages/admin/addshop.js"></script>
</head>
<body>
<%@include file="common/navbar.jspf" %>
<div class="container">
    <div class="row">
        <div class="col-md-3">
            <%@include file="common/sidebar.jspf" %>
        </div>
        <div class="col-md-9">
            <div class="panel panel-default">
                <div class="panel-heading">新增商户</div>
                <div class="panel-body">
                    <form class="form-horizontal" action="./adm/addshop" method="post">
                        <div class="form-group">
                            <lable class="control-label col-md-2">名称</lable>
                            <div class="col-md-10">
                            <input class="form-control" type="text" name="name" id="name"/></div>
                        </div>
                        <div class="form-group">
                            <lable class="control-label col-md-2">登录用户名</lable>
                            <div class="col-md-10">
                            <input class="form-control" type="text" name="username" id="username" placeholder="至少四位字母或数字"/></div>
                        </div>
                        <div class="form-group">
                            <lable class="control-label col-md-2">默认密码</lable>
                            <div class="col-md-10">
                            <input class="form-control" type="text" value="123456" readonly></div>
                        </div>
                        <div class="form-group">
                            <lable class="control-label col-md-2">描述</lable>
                            <div class="col-md-10">
                            <textarea class="form-control" name="description" id="description"></textarea></div>
                        </div>
                        <div class="form-group">
                            <lable class="control-label col-md-2">联系电话</lable>
                            <div class="col-md-10">
                            <input class="form-control" type="text" name="con" id="con"/></div>
                        </div>
                        <div class="form-group">
                            <lable class="control-label col-md-2">地址</lable>
                            <div class="col-md-8">
                            <input class="form-control" type="text" name="location" id="location"/></div>
                            <div class="col-md-2">
                            <button class="btn-loc btn btn-info" type="button">地图选点</button></div>
                        </div>
                        <div class="form-group">
                            <lable class="control-label col-md-2">营业时间</lable>
                            <div class="col-md-10">
                            <input class="form-control" type="text" name="bh" id="bh"/></div>
                        </div>
                        <input type="hidden" name="xpos" id="xpos"/>
                        <input type="hidden" name="ypos" id="ypos"/>
                        <button class="btn btn-success btn-block" type="button" id="submitbtn">提交</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<%@include file="common/mapdlg.jspf"%>

</body>
</html>
